package com.itheima.model.behavior.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 推荐查询DTO
 */
@Data
@ApiModel(description = "推荐查询DTO")
public class RecommendQueryDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("推荐类型: personalized-个性化, collaborative-协同过滤, popular-热门, category-分类, similar-相似")
    private String type;

    @ApiModelProperty("推荐数量限制")
    private Integer limit;

    @ApiModelProperty("分类ID（type为category时使用）")
    private Integer categoryId;

    @ApiModelProperty("图书ID（type为similar时使用）")
    private Integer bookId;
}

